<form class="navbar-form navbar-right"
      name="searchForm"
      ng-if="currentUser.username"
      role="search">
    <div class="form-group">
        <small class="ng-error" ng-show="showMissingCharacterText()">
            {{'search.missing.characters.text' | translate:translationData }}
        </small>
        <input type="text"
               class="form-control"
               placeholder="{{'search.term.field.placeholder' | translate}}"
               ng-model="search.searchTerm"
               ng-blur="searchFieldBlur()"
               ng-change="search()"
               ng-focus="searchFieldFocus()">
    </div>
</form>